package com.validacion.direcciones.bean;

public class OrigenBean {

	private Long id;
	private String text;
	
	public OrigenBean() { }
	
	public OrigenBean(Long id, String text) {
		this.id = id;
		this.text = text;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getText() {
		return text;
	}

	public void setText(String text) {
		this.text = text;
	}

	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + ((id == null) ? 0 : id.hashCode());
		result = prime * result + ((text == null) ? 0 : text.hashCode());
		return result;
	}

	@Override
	public String toString() {
		return "OrigenBean [id=" + id + ", text=" + text + "]";
	}
	

}
